home *** CD-ROM | disk | FTP | other *** search
INI File | 2000-10-11 | 1.4 KB | 47 lines |
- ;
- ; one database per ini file
- ;
- ; Database must have:
- ;
- ; NumberOfObjects - The number of object that will be generated for
- ; each record in the database
- ; NumberOfInputFields - The number of fields each input record contains
- ;
- ; Each Object:
- ;
- ; ObjectType - The Object Type
- ; NumberOfProps - The number of properties to be written for this object
- ;
- ; For each property:
- ;
- ; PropertyX - The Property Name
- ; ValueX - The value of the property
- ; $n = input field #n
- ; %n = object ID for object #n (must be previous)
- ; #n = numeric constant n
- ; string = string constant <string>
- ;
- ; At the moment the first property of an object must be string, and must uniquely
- ; identify the object (in other words, I will look for an object of this type with
- ; the first property, and if it exists I will update it, otherwise I will create it)
-
- [DataBase]
- Name=New York Stock Exchange
- NumberOfObjects=2
- NumberOfInputFields=2
-
- [Object1]
- ObjectType=Company
- NumberOfProps=1
- Property1=Company_Name
- Value1=$2
-
- [Object2]
- ObjectType=Stock
- NumberOfProps=2
- Property1=Stock_Ticker_Local
- Value1=$1
- Property2=Stock_Company_ObjID
- Value2=%1
-
-